package models;

import java.util.Date;
import javax.jdo.annotations.Index;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PrimaryKey;
import javax.persistence.Id;
import com.google.appengine.api.blobstore.BlobKey;

@Index
public class SolutionSubmission {

	@PrimaryKey
	@Id
	@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)	
	Long solID;
	
	String	solCode; //NEWLY ADDED FOR ID TO HAVE REGION CODE ON 25 SEPT
	String	Title;
	Date	dtImplemented;
	Date	dtShared;
	String	teamLead;
	String	teamMembers;
	String	otherTeamMembers;
	String	Customer;
	String	Location;
	String	LocationCode; //NEWLY ADDED BY SRVAN ON 25 SEPT
	String	LocationRegionName; //Add by SRVAN on Sept 4th to check which site this solution belongs too 
	String	processArea;
	String	solType;
	BlobKey	teamPicKey;

	String	S1;
	String	S2;
	String	S3;
	String	S4;
	String	S5;
	String	S6;
	String	achievedType;
	String	achievedTypeDesc; //NEWLY ADDED ON AUG 23 BY SRVAN FOR DISPLAY PURPOSE - this value is the name of the option button
	String	achievedValue;
	String	achievedUnits;
	Float	hardSavings;
	Float	costAvoidance;
	Float	oppurtunityCost;
	
	boolean	hasHardSavings; //NEWLY ADDED ON AUG 29 BY SYOUDEE FOR SEARCH PURPOSE
	boolean	hasCostAvoidance; //NEWLY ADDED ON AUG 29 BY SYOUDEE FOR SEARCH PURPOSE
	boolean	hasOppurtunityCost; //NEWLY ADDED ON AUG 29 BY SYOUDEE FOR SEARCH PURPOSE
	
	Float 	annProdSavings; //NEWLY ADDED ON AUG 23 BY SRVAN FOR DISPLAY PURPOSE - this value is the addition of all cost
	Float	impDays;
	BlobKey	attachKey;
	String	Status;
	String  sMonth; //NEWLY ADDED FOR REPORTING PURPOSE - SRVAN ON SEPT 5 
	String  sYear;  //NEWLY ADDED FOR REPORTING PURPOSE - SRVAN ON SEPT 5
	
	String	submittedBY;
	
	Date	submittedON;
	String	modifiedBY;
	Date	modifiedON;
	boolean	mpsCandidate;
	boolean	nominateSolution;
	//boolean	bestOfSite; //BEST OF SITE AND NOMINATION ARE BOTH SAME - EXTRA NO NEED - SRVAN AUG 28
	boolean	bestOfRegion;
	boolean	bestOfBest;
	boolean	hasExpert; //NEWLY ADDED ON AUG 29 BY SYOUDEE FOR VIEW EXPERT COMMENT PURPOSE

	int countExpert; //NEWLY ADDED ON AUG 29 BY SYOUDEE FOR VIEW EXPERT COMMENT PURPOSE

	public Long getSolID() {
		return solID;
	}

	public void setSolID(Long solID) {
		this.solID = solID;
	}

	public String getSolCode() {
		return solCode;
	}

	public void setSolCode(String solCode) {
		this.solCode = solCode;
	}

	public String getTitle() {
		return Title;
	}

	public void setTitle(String title) {
		Title = title;
	}

	public Date getDtImplemented() {
		return dtImplemented;
	}

	public void setDtImplemented(Date dtImplemented) {
		this.dtImplemented = dtImplemented;
	}

	public Date getDtShared() {
		return dtShared;
	}

	public void setDtShared(Date dtShared) {
		this.dtShared = dtShared;
	}

	public String getTeamLead() {
		return teamLead;
	}

	public void setTeamLead(String teamLead) {
		this.teamLead = teamLead;
	}

	public String getTeamMembers() {
		return teamMembers;
	}

	public void setTeamMembers(String teamMembers) {
		this.teamMembers = teamMembers;
	}

	public String getOtherTeamMembers() {
		return otherTeamMembers;
	}

	public void setOtherTeamMembers(String otherTeamMembers) {
		this.otherTeamMembers = otherTeamMembers;
	}

	public String getCustomer() {
		return Customer;
	}

	public void setCustomer(String customer) {
		Customer = customer;
	}

	public String getLocation() {
		return Location;
	}

	public void setLocation(String location) {
		Location = location;
	}

	public String getLocationCode() {
		return LocationCode;
	}

	public void setLocationCode(String locationCode) {
		LocationCode = locationCode;
	}

	public String getLocationRegionName() {
		return LocationRegionName;
	}

	public void setLocationRegionName(String locationRegionName) {
		LocationRegionName = locationRegionName;
	}

	public String getProcessArea() {
		return processArea;
	}

	public void setProcessArea(String processArea) {
		this.processArea = processArea;
	}

	public String getSolType() {
		return solType;
	}

	public void setSolType(String solType) {
		this.solType = solType;
	}

	public BlobKey getTeamPicKey() {
		return teamPicKey;
	}

	public void setTeamPicKey(BlobKey teamPicKey) {
		this.teamPicKey = teamPicKey;
	}

	public String getS1() {
		return S1;
	}

	public void setS1(String s1) {
		S1 = s1;
	}

	public String getS2() {
		return S2;
	}

	public void setS2(String s2) {
		S2 = s2;
	}

	public String getS3() {
		return S3;
	}

	public void setS3(String s3) {
		S3 = s3;
	}

	public String getS4() {
		return S4;
	}

	public void setS4(String s4) {
		S4 = s4;
	}

	public String getS5() {
		return S5;
	}

	public void setS5(String s5) {
		S5 = s5;
	}

	public String getS6() {
		return S6;
	}

	public void setS6(String s6) {
		S6 = s6;
	}

	public String getAchievedType() {
		return achievedType;
	}

	public void setAchievedType(String achievedType) {
		this.achievedType = achievedType;
	}

	public String getAchievedTypeDesc() {
		return achievedTypeDesc;
	}

	public void setAchievedTypeDesc(String achievedTypeDesc) {
		this.achievedTypeDesc = achievedTypeDesc;
	}

	public String getAchievedValue() {
		return achievedValue;
	}

	public void setAchievedValue(String achievedValue) {
		this.achievedValue = achievedValue;
	}

	public String getAchievedUnits() {
		return achievedUnits;
	}

	public void setAchievedUnits(String achievedUnits) {
		this.achievedUnits = achievedUnits;
	}

	public Float getHardSavings() {
		return hardSavings;
	}

	public void setHardSavings(Float hardSavings) {
		this.hardSavings = hardSavings;
	}

	public Float getCostAvoidance() {
		return costAvoidance;
	}

	public void setCostAvoidance(Float costAvoidance) {
		this.costAvoidance = costAvoidance;
	}

	public Float getOppurtunityCost() {
		return oppurtunityCost;
	}

	public void setOppurtunityCost(Float oppurtunityCost) {
		this.oppurtunityCost = oppurtunityCost;
	}

	public boolean isHasHardSavings() {
		return hasHardSavings;
	}

	public void setHasHardSavings(boolean hasHardSavings) {
		this.hasHardSavings = hasHardSavings;
	}

	public boolean isHasCostAvoidance() {
		return hasCostAvoidance;
	}

	public void setHasCostAvoidance(boolean hasCostAvoidance) {
		this.hasCostAvoidance = hasCostAvoidance;
	}

	public boolean isHasOppurtunityCost() {
		return hasOppurtunityCost;
	}

	public void setHasOppurtunityCost(boolean hasOppurtunityCost) {
		this.hasOppurtunityCost = hasOppurtunityCost;
	}

	public Float getAnnProdSavings() {
		return annProdSavings;
	}

	public void setAnnProdSavings(Float annProdSavings) {
		this.annProdSavings = annProdSavings;
	}

	public Float getImpDays() {
		return impDays;
	}

	public void setImpDays(Float impDays) {
		this.impDays = impDays;
	}

	public BlobKey getAttachKey() {
		return attachKey;
	}

	public void setAttachKey(BlobKey attachKey) {
		this.attachKey = attachKey;
	}

	public String getStatus() {
		return Status;
	}

	public void setStatus(String status) {
		Status = status;
	}

	public String getsMonth() {
		return sMonth;
	}

	public void setsMonth(String sMonth) {
		this.sMonth = sMonth;
	}

	public String getsYear() {
		return sYear;
	}

	public void setsYear(String sYear) {
		this.sYear = sYear;
	}

	public String getSubmittedBY() {
		return submittedBY;
	}

	public void setSubmittedBY(String submittedBY) {
		this.submittedBY = submittedBY;
	}

	public Date getSubmittedON() {
		return submittedON;
	}

	public void setSubmittedON(Date submittedON) {
		this.submittedON = submittedON;
	}

	public String getModifiedBY() {
		return modifiedBY;
	}

	public void setModifiedBY(String modifiedBY) {
		this.modifiedBY = modifiedBY;
	}

	public Date getModifiedON() {
		return modifiedON;
	}

	public void setModifiedON(Date modifiedON) {
		this.modifiedON = modifiedON;
	}

	public boolean isMpsCandidate() {
		return mpsCandidate;
	}

	public void setMpsCandidate(boolean mpsCandidate) {
		this.mpsCandidate = mpsCandidate;
	}

	public boolean isNominateSolution() {
		return nominateSolution;
	}

	public void setNominateSolution(boolean nominateSolution) {
		this.nominateSolution = nominateSolution;
	}

	public boolean isBestOfRegion() {
		return bestOfRegion;
	}

	public void setBestOfRegion(boolean bestOfRegion) {
		this.bestOfRegion = bestOfRegion;
	}

	public boolean isBestOfBest() {
		return bestOfBest;
	}

	public void setBestOfBest(boolean bestOfBest) {
		this.bestOfBest = bestOfBest;
	}

	public boolean isHasExpert() {
		return hasExpert;
	}

	public void setHasExpert(boolean hasExpert) {
		this.hasExpert = hasExpert;
	}

	public int getCountExpert() {
		return countExpert;
	}

	public void setCountExpert(int countExpert) {
		this.countExpert = countExpert;
	}
	
}
